MinimalPolynomial
MinimalPolynomial[s,x] gives the minimal polynomial in x for which the algebraic number s is a root.
MinimalPolynomial[u,x] gives the minimal polynomial of the finite field element u over p.
MinimalPolynomial[u,x,k] gives the minimal polynomial of u over the pk-element subfield of the ambient field of u.
MinimalPolynomial[u,x,emb] gives the minimal polynomial of u relative to the finite field embedding emb.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.